<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">
	$(function(){
		$("#puchasePointBtn").click(function(){
			var point=$(":radio[name=point]:checked").val();
			location.href="puchasePoint.do?id=${sessionScope.cvo.id}&point="+point;
		});
	});
</script>
<h2>Purchase Point</h2>
<form id="PointForm">
<input type="radio" name="point" value="10000">10.000 point<br>
<input type="radio" name="point" value="20000">20.000 point<br>
<input type="radio" name="point" value="30000">30.000 point<br>
<input type="radio" name="point" value="40000">40.000 point<br>
<input type="radio" name="point" value="50000">50.000 point<br>
<input type="button" id="puchasePointBtn" value="포인트 구매" class="button">
</form>